Skip to content

Conversation

sina-hide
Copy link
Contributor

After changing the priority of the preferences/configurations for the merge mode in #1495, the git configuration merge.ff was ignored. The reason is, that GetSettingsPreferredMergeMode() does not return null in the default case. This is now fixed.

After changing the priority of the preferences/configurations for the
merge mode in sourcegit-scm#1495, the git configuration `merge.ff` was ignored.  The
reason is, that `GetSettingsPreferredMergeMode()` does not return `null`
in the default case.  This is now fixed.
@love-linger love-linger self-assigned this Jul 3, 2025
@love-linger love-linger added the bug Something isn't working label Jul 3, 2025
@love-linger love-linger merged commit 35d681d into sourcegit-scm:develop Jul 3, 2025
13 checks passed
@sina-hide sina-hide deleted the config-merge-ff branch July 3, 2025 07:25
love-linger added a commit that referenced this pull request Jul 3, 2025
- returns `null` to fallback to git's `merge.ff` configure when user does not configure `Preferred Merge Mode`
- since `GetGitConfigBranchMergeOptions` is the last one, returns `Default` as fallback

Signed-off-by: leo <[email protected]>
@sina-hide
Copy link
Contributor Author

Argh, my bugfix was buggy itself. I should have tested it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants